package com.xinchao.core.platform;


/**
 * 
 * <p>Title: Profile</p>  
 * <p>Description: </p>  
 * @author huangf 
 * @date 2018年8月27日
 */
public enum Profile {
	PROD("prod"),
	DEV("dev"), 
	TEST("test"), 
	TEST01("test01");
	
	private String profileName;

	private Profile(String profileName) {
		this.profileName = profileName;
	}

	public String getProfileName() {
		return profileName;
	}

	public boolean isDev() {
		if(Profile.DEV.equals(this)) {
			return true;
		}
		return false;
	}
	public boolean isProd() {
		if(Profile.PROD.equals(this)) {
			return true;
		}
		return false;
	}
	
}
